/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package User;

import DataModel.*;
import User.DataLayer.UserDataManager;

/**
 *
 * @author Rainiero
 */
public class UserManager {

    // <editor-fold defaultstate="collapsed" desc="Attributes">

    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Singleton">
    private static UserManager _instance = new UserManager();

    private UserManager()
    {
    }

    public static UserManager GetInstance()
    {
        return _instance;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Public Methods">
    public PersonSummary[] GetUsersInRole(Enums.UserRole role)
    {
        return UserDataManager.GetInstance().GetUsersInRole(role);
    }
    // </editor-fold>

}
